home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / uniq.z / uniq
Text File  |  1998-10-20  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. uuuunnnniiiiqqqq((((1111))))                                                                uuuunnnniiiiqqqq((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _uuuu_nnnn_iiii_qqqq - report repeated lines in a file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _uuuu_nnnn_iiii_qqqq [ _----_uuuu|_----_dddd|_----_cccc ] [ _----_ffff _f_i_e_l_d_s ] [ _----_ssss _c_h_a_r_s ] [ _i_n_p_u_t [ _o_u_t_p_u_t ] ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _uuuu_nnnn_iiii_qqqq reads the input file comparing adjacent lines.  In the normal case,
  16.      the second and succeeding copies of repeated lines are removed; the
  17.      remainder is written on the output file.  _I_n_p_u_t and _o_u_t_p_u_t should always
  18.      be different.  Note that repeated lines must be adjacent in order to be
  19.      found; see _ssss_oooo_rrrr_tttt(1).  If the _----_uuuu flag is used, just the lines that are not
  20.      repeated in the original file are output.  The _----_dddd option specifies that
  21.      one copy of just the repeated lines is to be written.  The normal mode
  22.      output is the union of the _----_uuuu and _----_dddd mode outputs.  The _----_cccc option
  23.      supersedes _----_uuuu and _----_dddd and generates an output report in default style but
  24.      with each line preceded by a count of the number of times it occurred.
  25.      _uuuu_nnnn_iiii_qqqq processes supplementary code set characters according to the locale
  26.      specified in the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE environment variable [see _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)].
  27.  
  28.      The _----_ffff and _----_ssss options specify skipping an initial portion of each line in
  29.      the comparison:
  30.  
  31.      _----_ffff _f_i_e_l_d_s
  32.              The first _f_i_e_l_d_s fields together with any blanks preceding them
  33.              are ignored for each input line.  A field is defined as a string
  34.              of non-space, non-tab characters separated by tabs and spaces
  35.              from its neighbors.
  36.  
  37.      _----_ssss _c_h_a_r_s
  38.              The first _c_h_a_r_s characters (columns, in multibyte environments)
  39.              are ignored.  Fields are skipped before characters.
  40.  
  41. NNNNOOOOTTTTEEEESSSS
  42.      The _----_n and _++++_m options, although still recognized, are now obsolete and
  43.      may not be supported in future releases.  The _----_n option is equivalent to
  44.      _----_ffff _f_i_e_l_d_s with _f_i_e_l_d_s set to _n.  The _++++_m option is equivalent to _----_ssss _c_h_a_r_s
  45.      with _c_h_a_r_s set to _m.
  46.  
  47. FFFFIIIILLLLEEEESSSS
  48.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_dddd_ffff_mmmm
  49.           language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).]
  50.  
  51. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  52.      _cccc_oooo_mmmm_mmmm(1), _ssss_oooo_rrrr_tttt(1)
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.